<!DOCTYPE html>
<html><head>
 <meta charset="utf-8">
 <title>编辑订单</title>

 <meta name="description" content="Dashboard">
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta http-equiv="X-UA-Compatible" content="IE=edge">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <!--Basic Styles-->
 <link href="__admin__/style/bootstrap.css" rel="stylesheet">
 <link href="__admin__/style/font-awesome.css" rel="stylesheet">
 <link href="__admin__/style/weather-icons.css" rel="stylesheet">

 <!--Beyond styles-->
 <link id="beyond-link" href="__admin__/style/beyond.css" rel="stylesheet" type="text/css">
 <link href="__admin__/style/demo.css" rel="stylesheet">
 <link href="__admin__/style/typicons.css" rel="stylesheet">
 <link href="__admin__/style/animate.css" rel="stylesheet">

</head>
<body>
	<!-- 头部 -->
	{include file="common/top"}

    <!-- /头部 -->

    <div class="main-container container-fluid">
      <div class="page-container">
    <!-- Page Sidebar -->
      {include file="common/left"}
    <!-- /Page Sidebar -->
    <!-- Page Content -->
    <div class="page-content">
        <!-- Page Breadcrumb -->
        <div class="page-breadcrumbs">
            <ul class="breadcrumb">
                <li>
                    <a href="{:url('index/index')}">系统</a>
                </li>
                <li>
                    <a href="{:url('brand/lst')}">商品管理</a>
                </li>
                <li class="active">编辑订单</li>
            </ul>
        </div>
        <!-- /Page Breadcrumb -->

        <!-- Page Body -->
        <div class="page-body">

        <div class="row">
        <div class="col-lg-12 col-sm-12 col-xs-12">
        <div class="widget">
            <div class="widget-body">
                <div id="horizontal-form">
                    <form action="" method="post">
                        <table class="table table-bordered table-hover">
                                    <thead>
                                        <tr>
                                            <th width="15%">名称</th>
                                            <th >值</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr><td>订单id</td>
                                            <td>{$OrderRes.id}</td>
                                        </tr>
                                        <tr><td>订单号</td>
                                            <td>{$OrderRes.out_trade_no}</td>
                                        </tr>
                                        <tr><td>商品总金额</td>
                                            <td><input type="text" name="goods_total_price" value="{$OrderRes.goods_total_price}"></td>
                                        </tr>
                                        <tr><td>订单总金额</td>
                                            <td><input type="text" name="order_tptal_price" value="{$OrderRes.order_tptal_price}"></td>
                                        </tr>
                                        <tr><td>订单状态</td>
                                            <td><select name="order_status">
                                                <option value="0" {if condition="$OrderRes['order_status']==0"}selected="selected"{/if}>未支付</option>
                                                <option value="1"  {if condition="$OrderRes['order_status']==1"}selected="selected"{/if}>已支付</option>
                                                <option value="2" {if condition="$OrderRes['order_status']==2"}selected="selected"{/if}>申请退款</option>
                                                <option value="3" {if condition="$OrderRes['order_status']==3"}selected="selected"{/if}>退款成功</option>
                                            </select></td>
                                        </tr>
                                        <tr><td>支付方式</td>
                                            <td><select name="payment">
                                                <option value="1" {if condition="$OrderRes['payment']==1"}selected="selected"{/if}>支付宝</option>
                                                <option value="2"  {if condition="$OrderRes['payment']==2"}selected="selected"{/if}>微信</option>
                                            </select></td>
                                        </tr>
                                        
                                    
                                        <tr><td>支付状态</td>
                                            <td><select name="pay_status">
                                                <option value="0" {if condition="$OrderRes['pay_status']==0"}selected="selected"{/if}>未支付</option>
                                                <option value="1"  {if condition="$OrderRes['pay_status']==1"}selected="selected"{/if}>已支付</option>
                                            </select></td>
                                        </tr>
                                        <tr><td>配送状态</td>
                                            <td><select name="post_status">
                                                <option value="0" {if condition="$OrderRes['post_status']==0"}selected="selected"{/if}>未发货</option>
                                                <option value="1"   {if condition="$OrderRes['post_status']==1"}selected="selected"{/if}>已发货</option>
                                                <option value="2"  {if condition="$OrderRes['post_status']==2"}selected="selected"{/if}>已收货</option>
                                            </select></td>
                                        </tr>
                                        <tr><td>配送方式</td>
                                            <td><input type="text" name="distribution" value="{$OrderRes.distribution}"></td>
                                        </tr>
                                        <tr><td>运费</td>
                                            <td><input type="text" name="post_spent" value="{$OrderRes.post_spent}"></td>
                                        </tr>
                                        <tr><td>收货人</td>
                                            <td><input type="text" name="consignee" value="{$OrderRes.consignee}"></td>
                                        </tr>
                                        <tr><td>手机</td>
                                            <td><input type="text" name="phone" value="{$OrderRes.phone}"></td>
                                        </tr>
                                        <tr><td>省</td>
                                            <td><input type="text" name="province" value="{$OrderRes.province}"></td>
                                        </tr>
                                        <tr><td>市</td>
                                            <td><input type="text" name="city" value="{$OrderRes.city}"></td>
                                        </tr>
                                        <tr><td>县/区</td>
                                            <td><input type="text" name="country" value="{$OrderRes.country}"></td>
                                        </tr>
                                        <tr><td>详细地址</td>
                                            <td><input type="text" name="address" value="{$OrderRes.address}"></td>
                                        </tr>
                                        <tr><td>下单时间</td>
                                            <td>{:date('Y-m-d H-i-s',$OrderRes.order_time)}</td>
                                        </tr>
                                        <tr><td></td>
                                            <td>
                                                <button type="submit" class="btn btn-default">修改</button>
                                            </td>
                                        </tr>

                                    
                                        
                                    </tbody>



                                </table>
                            
                        </div>


                    </form>
                </div>
            </div>
        </div>
        </div>
        </div>

        </div>
        <!-- /Page Body -->
    </div>
    <!-- /Page Content -->
</div>	
</div>

<!--Basic Scripts-->
<script src="__admin__/style/jquery_002.js"></script>
<script src="__admin__/style/bootstrap.js"></script>
<script src="__admin__/style/jquery.js"></script>
<!--Beyond Scripts-->
<script src="__admin__/style/beyond.js"></script>



</body></html>